


<table class="layui-table" >
	<colgroup>
		<col width="100"><col>
		<col width="200"><col>
	</colgroup>
    <tr>
        <td class="w">出库单</td><td th:text="${order.id}"></td>
        <td class="w">所属公司</td><td th:text="${order.companyName}"></td>
    </tr>
    <tr>
        <td class="w">来源单号</td><td th:text="${order.sourceOrderNo}"></td>
        <td class="w">入库单编号</td><td th:text="${order.orderNo}"></td>
    </tr>
    <tr>
        <td class="w">客户名称</td><td th:text="${order.supplierName}"></td>
        <td class="w">客户联系人</td><td th:text="${order.supplierConnact}"></td>
    </tr>
    <tr>
        <td class="w">联系电话</th><td th:text="${order.phone}"></td>
        <td class="w">入库总量</th><td th:text="${order.count}"></td>
    </tr>
    <tr>
        <td class="w">审核人</th><td th:text="${order.confirmPerson}"></td>
        <td class="w">审核日期</th>
        <td th:text=" ${order.confirmDate}==null?'':${#dates.format(order.confirmDate,'yyyy-MM-dd HH:mm:ss')}"></td>
    </tr>
    <tr>   
        <td class="w">修改人</th><td th:text="${order.modifyPerson}"></td>
        <td class="w">修改日期</th>
         <td th:text=" ${order.mofifyDate}==null?'':${#dates.format(order.mofifyDate,'yyyy-MM-dd HH:mm:ss')}"></td>
    </tr>
    <tr> 
        <td class="w">创建人</th><td th:text="${order.createPerson}"></td>
        <td class="w">创建日期</th>
         <td th:text=" ${order.createDate}==null?'':${#dates.format(order.createDate,'yyyy-MM-dd HH:mm:ss')}"></td>
    </tr>
    <tr>        
        <td class="w">状态</th>
        <td th:switch="${order.status}">
        	<span th:case="0">未审核</span>
        	<span th:case="1">审核</span>
        	<span th:case="2">关闭</span>
        	<span th:case="3">完成</span>
        </td>
        
        <td class="w">备注</th>
        <td th:text="${order.remark}"></td>
	</tr>
</table>

<button class="layui-btn" style="margin-left:40%;" id="closeBtn">关闭</button>

<script>
//关闭按钮
$("#closeBtn").click(function(){
	  layer.closeAll();
})
</script>
<script type="text/html" id="statusTpl">
{{#if (d.status==0){}}
  		未审核
{{# }else if(d.status==1) {}}
		审核
{{# }else if(d.status==2) {}}
		关闭
{{# }else if(d.status==3) {}}
		完成
{{#  } }}
</script>